import request1 from '@/utils/request1'
export const warehousePage = (params) => {
  return request1({
    url: 'warehouse/page',
    params
  })
}
/**
 * 新增直接传递一个CK这样可以得到一个人编号
 */
export const codeFactory = () => {
  return request1({
    url: 'codeFactory/next/CK'
  })
}
/**
 * 新增仓库
 */
export const Addwarehouse = (data) => {
  return request1({
    url: 'warehouse',
    method: 'post',
    data
  })
}
